<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PopplerDocument: Poppler Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Poppler Reference Manual">
<link rel="up" href="ch01.html" title="Poppler">
<link rel="prev" href="ch01.html" title="Poppler">
<link rel="next" href="poppler-Poppler-Page.html" title="PopplerPage">
<meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#PopplerDocument.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#PopplerDocument.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#PopplerDocument.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="poppler-Poppler-Page.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="PopplerDocument"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="PopplerDocument.top_of_page"></a>PopplerDocument</span></h2>
<p>PopplerDocument — Information about a document</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="PopplerDocument.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="../glib/glib-Balanced-Binary-Trees.html#GTree"><span class="returnvalue">GTree</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-create-dests-tree" title="poppler_document_create_dests_tree ()">poppler_document_create_dests_tree</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerAction.html#PopplerDest"><span class="returnvalue">PopplerDest</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-find-dest" title="poppler_document_find_dest ()">poppler_document_find_dest</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-attachments" title="poppler_document_get_attachments ()">poppler_document_get_attachments</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-author" title="poppler_document_get_author ()">poppler_document_get_author</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">time_t</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-creation-date" title="poppler_document_get_creation_date ()">poppler_document_get_creation_date</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-creator" title="poppler_document_get_creator ()">poppler_document_get_creator</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerFormField.html" title="PopplerFormField"><span class="returnvalue">PopplerFormField</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-form-field" title="poppler_document_get_form_field ()">poppler_document_get_form_field</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-id" title="poppler_document_get_id ()">poppler_document_get_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-keywords" title="poppler_document_get_keywords ()">poppler_document_get_keywords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-metadata" title="poppler_document_get_metadata ()">poppler_document_get_metadata</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">time_t</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-modification-date" title="poppler_document_get_modification_date ()">poppler_document_get_modification_date</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-n-attachments" title="poppler_document_get_n_attachments ()">poppler_document_get_n_attachments</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-n-pages" title="poppler_document_get_n_pages ()">poppler_document_get_n_pages</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="returnvalue">PopplerPage</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-page" title="poppler_document_get_page ()">poppler_document_get_page</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="returnvalue">PopplerPage</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-page-by-label" title="poppler_document_get_page_by_label ()">poppler_document_get_page_by_label</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="returnvalue">PopplerPageLayout</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-page-layout" title="poppler_document_get_page_layout ()">poppler_document_get_page_layout</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="returnvalue">PopplerPageMode</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-page-mode" title="poppler_document_get_page_mode ()">poppler_document_get_page_mode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerPDFConformance" title="enum PopplerPDFConformance"><span class="returnvalue">PopplerPDFConformance</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-pdf-conformance" title="poppler_document_get_pdf_conformance ()">poppler_document_get_pdf_conformance</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerPDFPart" title="enum PopplerPDFPart"><span class="returnvalue">PopplerPDFPart</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-pdf-part" title="poppler_document_get_pdf_part ()">poppler_document_get_pdf_part</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerPDFSubtype" title="enum PopplerPDFSubtype"><span class="returnvalue">PopplerPDFSubtype</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-pdf-subtype" title="poppler_document_get_pdf_subtype ()">poppler_document_get_pdf_subtype</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-pdf-subtype-string" title="poppler_document_get_pdf_subtype_string ()">poppler_document_get_pdf_subtype_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version" title="poppler_document_get_pdf_version ()">poppler_document_get_pdf_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version-string" title="poppler_document_get_pdf_version_string ()">poppler_document_get_pdf_version_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="returnvalue">PopplerPermissions</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-permissions" title="poppler_document_get_permissions ()">poppler_document_get_permissions</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">PopplerPrintDuplex</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-print-duplex" title="poppler_document_get_print_duplex ()">poppler_document_get_print_duplex</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-print-n-copies" title="poppler_document_get_print_n_copies ()">poppler_document_get_print_n_copies</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">PopplerPageRange</span> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-print-page-ranges" title="poppler_document_get_print_page_ranges ()">poppler_document_get_print_page_ranges</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">PopplerPrintScaling</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-print-scaling" title="poppler_document_get_print_scaling ()">poppler_document_get_print_scaling</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-producer" title="poppler_document_get_producer ()">poppler_document_get_producer</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-subject" title="poppler_document_get_subject ()">poppler_document_get_subject</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-get-title" title="poppler_document_get_title ()">poppler_document_get_title</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-has-attachments" title="poppler_document_has_attachments ()">poppler_document_has_attachments</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-is-linearized" title="poppler_document_is_linearized ()">poppler_document_is_linearized</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-new-from-bytes" title="poppler_document_new_from_bytes ()">poppler_document_new_from_bytes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-new-from-data" title="poppler_document_new_from_data ()">poppler_document_new_from_data</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-new-from-file" title="poppler_document_new_from_file ()">poppler_document_new_from_file</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-new-from-gfile" title="poppler_document_new_from_gfile ()">poppler_document_new_from_gfile</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-new-from-stream" title="poppler_document_new_from_stream ()">poppler_document_new_from_stream</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-save" title="poppler_document_save ()">poppler_document_save</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-save-a-copy" title="poppler_document_save_a_copy ()">poppler_document_save_a_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-set-author" title="poppler_document_set_author ()">poppler_document_set_author</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-set-creation-date" title="poppler_document_set_creation_date ()">poppler_document_set_creation_date</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-set-creator" title="poppler_document_set_creator ()">poppler_document_set_creator</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-set-keywords" title="poppler_document_set_keywords ()">poppler_document_set_keywords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-set-modification-date" title="poppler_document_set_modification_date ()">poppler_document_set_modification_date</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-set-producer" title="poppler_document_set_producer ()">poppler_document_set_producer</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-set-subject" title="poppler_document_set_subject ()">poppler_document_set_subject</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-document-set-title" title="poppler_document_set_title ()">poppler_document_set_title</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-font-info-free" title="poppler_font_info_free ()">poppler_font_info_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerFontInfo"><span class="returnvalue">PopplerFontInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-font-info-new" title="poppler_font_info_new ()">poppler_font_info_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-font-info-scan" title="poppler_font_info_scan ()">poppler_font_info_scan</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="returnvalue">PopplerFontsIter</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-copy" title="poppler_fonts_iter_copy ()">poppler_fonts_iter_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-free" title="poppler_fonts_iter_free ()">poppler_fonts_iter_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-encoding" title="poppler_fonts_iter_get_encoding ()">poppler_fonts_iter_get_encoding</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-file-name" title="poppler_fonts_iter_get_file_name ()">poppler_fonts_iter_get_file_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerFontType" title="enum PopplerFontType"><span class="returnvalue">PopplerFontType</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-font-type" title="poppler_fonts_iter_get_font_type ()">poppler_fonts_iter_get_font_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-full-name" title="poppler_fonts_iter_get_full_name ()">poppler_fonts_iter_get_full_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-name" title="poppler_fonts_iter_get_name ()">poppler_fonts_iter_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-substitute-name" title="poppler_fonts_iter_get_substitute_name ()">poppler_fonts_iter_get_substitute_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-is-embedded" title="poppler_fonts_iter_is_embedded ()">poppler_fonts_iter_is_embedded</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-is-subset" title="poppler_fonts_iter_is_subset ()">poppler_fonts_iter_is_subset</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-fonts-iter-next" title="poppler_fonts_iter_next ()">poppler_fonts_iter_next</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-index-iter-copy" title="poppler_index_iter_copy ()">poppler_index_iter_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-index-iter-free" title="poppler_index_iter_free ()">poppler_index_iter_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerAction.html" title="PopplerAction"><span class="returnvalue">PopplerAction</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-index-iter-get-action" title="poppler_index_iter_get_action ()">poppler_index_iter_get_action</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-index-iter-get-child" title="poppler_index_iter_get_child ()">poppler_index_iter_get_child</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-index-iter-is-open" title="poppler_index_iter_is_open ()">poppler_index_iter_is_open</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-index-iter-new" title="poppler_index_iter_new ()">poppler_index_iter_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-index-iter-next" title="poppler_index_iter_next ()">poppler_index_iter_next</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-layers-iter-copy" title="poppler_layers_iter_copy ()">poppler_layers_iter_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-layers-iter-free" title="poppler_layers_iter_free ()">poppler_layers_iter_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-layers-iter-get-child" title="poppler_layers_iter_get_child ()">poppler_layers_iter_get_child</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="poppler-Poppler-Layer.html#PopplerLayer"><span class="returnvalue">PopplerLayer</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-layers-iter-get-layer" title="poppler_layers_iter_get_layer ()">poppler_layers_iter_get_layer</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-layers-iter-get-title" title="poppler_layers_iter_get_title ()">poppler_layers_iter_get_title</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-layers-iter-new" title="poppler_layers_iter_new ()">poppler_layers_iter_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-layers-iter-next" title="poppler_layers_iter_next ()">poppler_layers_iter_next</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-ps-file-free" title="poppler_ps_file_free ()">poppler_ps_file_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="PopplerDocument.html#PopplerPSFile"><span class="returnvalue">PopplerPSFile</span></a> *
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-ps-file-new" title="poppler_ps_file_new ()">poppler_ps_file_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-ps-file-set-duplex" title="poppler_ps_file_set_duplex ()">poppler_ps_file_set_duplex</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="PopplerDocument.html#poppler-ps-file-set-paper-size" title="poppler_ps_file_set_paper_size ()">poppler_ps_file_set_paper_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="PopplerDocument.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--author" title="The “author” property">author</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--creation-date" title="The “creation-date” property">creation-date</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--creator" title="The “creator” property">creator</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--format" title="The “format” property">format</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--format-major" title="The “format-major” property">format-major</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--format-minor" title="The “format-minor” property">format-minor</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--keywords" title="The “keywords” property">keywords</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--linearized" title="The “linearized” property">linearized</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--metadata" title="The “metadata” property">metadata</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--mod-date" title="The “mod-date” property">mod-date</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="type">PopplerPageLayout</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--page-layout" title="The “page-layout” property">page-layout</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="type">PopplerPageMode</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--page-mode" title="The “page-mode” property">page-mode</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="type">PopplerPermissions</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--permissions" title="The “permissions” property">permissions</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">PopplerPrintDuplex</span></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--print-duplex" title="The “print-duplex” property">print-duplex</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--print-n-copies" title="The “print-n-copies” property">print-n-copies</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">PopplerPrintScaling</span></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--print-scaling" title="The “print-scaling” property">print-scaling</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--producer" title="The “producer” property">producer</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--subject" title="The “subject” property">subject</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="PopplerDocument.html#PopplerPDFSubtype" title="enum PopplerPDFSubtype"><span class="type">PopplerPDFSubtype</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--subtype" title="The “subtype” property">subtype</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="PopplerDocument.html#PopplerPDFConformance" title="enum PopplerPDFConformance"><span class="type">PopplerPDFConformance</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--subtype-conformance" title="The “subtype-conformance” property">subtype-conformance</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="PopplerDocument.html#PopplerPDFPart" title="enum PopplerPDFPart"><span class="type">PopplerPDFPart</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--subtype-part" title="The “subtype-part” property">subtype-part</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--subtype-string" title="The “subtype-string” property">subtype-string</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--title" title="The “title” property">title</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="PopplerDocument.html#PopplerViewerPreferences" title="enum PopplerViewerPreferences"><span class="type">PopplerViewerPreferences</span></a></td>
<td class="property_name"><a class="link" href="PopplerDocument.html#PopplerDocument--viewer-preferences" title="The “viewer-preferences” property">viewer-preferences</a></td>
<td class="property_flags">Read</td>
</tr>
</tbody>
</table></div>
</div>
<a name="PopplerFontInfo"></a><a name="PopplerFontsIter"></a><a name="PopplerIndexIter"></a><a name="PopplerLayersIter"></a><a name="PopplerPSFile"></a><div class="refsect1">
<a name="PopplerDocument.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerDocument-struct" title="PopplerDocument">PopplerDocument</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerFontInfo-struct" title="PopplerFontInfo">PopplerFontInfo</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerFontType" title="enum PopplerFontType">PopplerFontType</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerFontsIter-struct" title="PopplerFontsIter">PopplerFontsIter</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerIndexIter-struct" title="PopplerIndexIter">PopplerIndexIter</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerLayersIter-struct" title="PopplerLayersIter">PopplerLayersIter</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerPDFConformance" title="enum PopplerPDFConformance">PopplerPDFConformance</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerPDFPart" title="enum PopplerPDFPart">PopplerPDFPart</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerPDFSubtype" title="enum PopplerPDFSubtype">PopplerPDFSubtype</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerPSFile-struct" title="PopplerPSFile">PopplerPSFile</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout">PopplerPageLayout</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode">PopplerPageMode</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions">PopplerPermissions</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="PopplerDocument.html#PopplerViewerPreferences" title="enum PopplerViewerPreferences">PopplerViewerPreferences</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="PopplerDocument.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
    <span class="lineart">├──</span> PopplerFontsIter
    <span class="lineart">├──</span> PopplerIndexIter
    <span class="lineart">╰──</span> PopplerLayersIter
    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">├──</span> PopplerDocument
    <span class="lineart">├──</span> PopplerFontInfo
    <span class="lineart">╰──</span> PopplerPSFile
</pre>
</div>
<div class="refsect1">
<a name="PopplerDocument.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;poppler.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="PopplerDocument.description"></a><h2>Description</h2>
<p>The <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> is an object used to refer to a main document.</p>
</div>
<div class="refsect1">
<a name="PopplerDocument.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="poppler-document-create-dests-tree"></a><h3>poppler_document_create_dests_tree ()</h3>
<pre class="programlisting"><a href="../glib/glib-Balanced-Binary-Trees.html#GTree"><span class="returnvalue">GTree</span></a> *
poppler_document_create_dests_tree (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Creates named destinations balanced binary tree in <em class="parameter"><code>document</code></em>
</p>
<p>The tree key is strings in the form returned by
<code class="function">poppler_named_dest_bytestring()</code> which constains a destination name.
The tree value is the <a class="link" href="PopplerAction.html#PopplerDest"><span class="type">PopplerDest</span></a>* which contains a named destination.
The return value must be freed with <a href="../glib/glib-Balanced-Binary-Trees.html#g-tree-destroy"><span class="type">g_tree_destroy</span></a>.</p>
<div class="refsect3">
<a name="poppler-document-create-dests-tree.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-create-dests-tree.returns"></a><h4>Returns</h4>
<p>the <a href="../glib/glib-Balanced-Binary-Trees.html#GTree"><span class="type">GTree</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-78.html#api-index-0.78">0.78</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-find-dest"></a><h3>poppler_document_find_dest ()</h3>
<pre class="programlisting"><a class="link" href="PopplerAction.html#PopplerDest"><span class="returnvalue">PopplerDest</span></a> *
poppler_document_find_dest (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                            <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *link_name</code></em>);</pre>
<p>Creates a <a class="link" href="PopplerAction.html#PopplerDest"><span class="type">PopplerDest</span></a> for the named destination <em class="parameter"><code>link_name</code></em>
 in <em class="parameter"><code>document</code></em>
.</p>
<p>Note that named destinations are bytestrings, not string. That means that
unless <em class="parameter"><code>link_name</code></em>
 was returned by a poppler function (e.g. is
<span class="type">PopplerDest.named_dest</span>), it needs to be converted to string
using <a class="link" href="poppler-PDF-Utility-functions.html#poppler-named-dest-from-bytestring" title="poppler_named_dest_from_bytestring ()"><code class="function">poppler_named_dest_from_bytestring()</code></a> before being passed to this
function.</p>
<p>The returned value must be freed with <a class="link" href="PopplerAction.html#poppler-dest-free" title="poppler_dest_free ()"><code class="function">poppler_dest_free()</code></a>.</p>
<div class="refsect3">
<a name="poppler-document-find-dest.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>link_name</p></td>
<td class="parameter_description"><p>a named destination</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-find-dest.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="PopplerAction.html#PopplerDest"><span class="type">PopplerDest</span></a> destination, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
<em class="parameter"><code>link_name</code></em>
is not a destination. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-attachments"></a><h3>poppler_document_get_attachments ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
poppler_document_get_attachments (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> containing <a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a>s.  These attachments
are unowned, and must be unreffed, and the list must be freed with
<a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>.</p>
<div class="refsect3">
<a name="poppler-document-get-attachments.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-attachments.returns"></a><h4>Returns</h4>
<p>a list of available attachments. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> PopplerAttachment][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-author"></a><h3>poppler_document_get_author ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_author (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the author of the document</p>
<div class="refsect3">
<a name="poppler-document-get-author.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-author.returns"></a><h4>Returns</h4>
<p> a new allocated string containing the author
of <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-creation-date"></a><h3>poppler_document_get_creation_date ()</h3>
<pre class="programlisting"><span class="returnvalue">time_t</span>
poppler_document_get_creation_date (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the date the document was created as seconds since the Epoch</p>
<div class="refsect3">
<a name="poppler-document-get-creation-date.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-creation-date.returns"></a><h4>Returns</h4>
<p> the date the document was created, or -1</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-creator"></a><h3>poppler_document_get_creator ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_creator (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the creator of the document. If the document was converted
from another format, the creator is the name of the product
that created the original document from which it was converted.</p>
<div class="refsect3">
<a name="poppler-document-get-creator.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-creator.returns"></a><h4>Returns</h4>
<p> a new allocated string containing the creator
of <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-form-field"></a><h3>poppler_document_get_form_field ()</h3>
<pre class="programlisting"><a class="link" href="PopplerFormField.html" title="PopplerFormField"><span class="returnvalue">PopplerFormField</span></a> *
poppler_document_get_form_field (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                                 <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);</pre>
<p>Returns the <a class="link" href="PopplerFormField.html" title="PopplerFormField"><span class="type">PopplerFormField</span></a> for the given <em class="parameter"><code>id</code></em>
. It must be freed with
<a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a></p>
<div class="refsect3">
<a name="poppler-document-get-form-field.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>an id of a <a class="link" href="PopplerFormField.html" title="PopplerFormField"><span class="type">PopplerFormField</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-form-field.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="PopplerFormField.html" title="PopplerFormField"><span class="type">PopplerFormField</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
not found. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-id"></a><h3>poppler_document_get_id ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_document_get_id (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **permanent_id</code></em>,
                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **update_id</code></em>);</pre>
<p>Returns the PDF file identifier represented as two byte string arrays of size 32.
<em class="parameter"><code>permanent_id</code></em>
 is the permanent identifier that is built based on the file
contents at the time it was originally created, so that this identifer
never changes. <em class="parameter"><code>update_id</code></em>
 is the update identifier that is built based on
the file contents at the time it was last updated.</p>
<p>Note that returned strings are not null-terminated, they have a fixed
size of 32 bytes.</p>
<div class="refsect3">
<a name="poppler-document-get-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>permanent_id</p></td>
<td class="parameter_description"><p>location to store an allocated string, use <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> to free the returned string. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>update_id</p></td>
<td class="parameter_description"><p>location to store an allocated string, use <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> to free the returned string. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-id.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>document</code></em>
contains an id, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-keywords"></a><h3>poppler_document_get_keywords ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_keywords (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the keywords associated to the document</p>
<div class="refsect3">
<a name="poppler-document-get-keywords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-keywords.returns"></a><h4>Returns</h4>
<p> a new allocated string containing keywords associated
to <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-metadata"></a><h3>poppler_document_get_metadata ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_metadata (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the XML metadata string of the document</p>
<div class="refsect3">
<a name="poppler-document-get-metadata.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-metadata.returns"></a><h4>Returns</h4>
<p> a new allocated string containing the XML
metadata, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-modification-date"></a><h3>poppler_document_get_modification_date ()</h3>
<pre class="programlisting"><span class="returnvalue">time_t</span>
poppler_document_get_modification_date
                               (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the date the document was most recently modified as seconds since the Epoch</p>
<div class="refsect3">
<a name="poppler-document-get-modification-date.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-modification-date.returns"></a><h4>Returns</h4>
<p> the date the document was most recently modified, or -1</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-n-attachments"></a><h3>poppler_document_get_n_attachments ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
poppler_document_get_n_attachments (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the number of attachments in a loaded document.
See also <a class="link" href="PopplerDocument.html#poppler-document-get-attachments" title="poppler_document_get_attachments ()"><code class="function">poppler_document_get_attachments()</code></a></p>
<div class="refsect3">
<a name="poppler-document-get-n-attachments.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-n-attachments.returns"></a><h4>Returns</h4>
<p> Number of attachments</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-18.html#api-index-0.18">0.18</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-n-pages"></a><h3>poppler_document_get_n_pages ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
poppler_document_get_n_pages (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the number of pages in a loaded document.</p>
<div class="refsect3">
<a name="poppler-document-get-n-pages.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-n-pages.returns"></a><h4>Returns</h4>
<p> Number of pages</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-page"></a><h3>poppler_document_get_page ()</h3>
<pre class="programlisting"><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="returnvalue">PopplerPage</span></a> *
poppler_document_get_page (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                           <em class="parameter"><code><span class="type">int</span> index</code></em>);</pre>
<p>Returns the <a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> indexed at <em class="parameter"><code>index</code></em>
.  This object is owned by the
caller.</p>
<div class="refsect3">
<a name="poppler-document-get-page.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>index</p></td>
<td class="parameter_description"><p>a page index </p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-page.returns"></a><h4>Returns</h4>
<p> (transfer full) : The <a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> at <em class="parameter"><code>index</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-page-by-label"></a><h3>poppler_document_get_page_by_label ()</h3>
<pre class="programlisting"><a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="returnvalue">PopplerPage</span></a> *
poppler_document_get_page_by_label (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                                    <em class="parameter"><code>const <span class="type">char</span> *label</code></em>);</pre>
<p>Returns the <a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> reference by <em class="parameter"><code>label</code></em>
.  This object is owned by the
caller.  <em class="parameter"><code>label</code></em>
 is a human-readable string representation of the page number,
and can be document specific.  Typically, it is a value such as "iii" or "3".</p>
<p>By default, "1" refers to the first page.</p>
<div class="refsect3">
<a name="poppler-document-get-page-by-label.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>label</p></td>
<td class="parameter_description"><p>a page label</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-page-by-label.returns"></a><h4>Returns</h4>
<p> (transfer full) :The <a class="link" href="poppler-Poppler-Page.html#PopplerPage"><span class="type">PopplerPage</span></a> referenced by <em class="parameter"><code>label</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-page-layout"></a><h3>poppler_document_get_page_layout ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="returnvalue">PopplerPageLayout</span></a>
poppler_document_get_page_layout (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the page layout that should be used when the document is opened</p>
<div class="refsect3">
<a name="poppler-document-get-page-layout.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-page-layout.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="type">PopplerPageLayout</span></a> that should be used when the document is opened</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-page-mode"></a><h3>poppler_document_get_page_mode ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="returnvalue">PopplerPageMode</span></a>
poppler_document_get_page_mode (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns a <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="type">PopplerPageMode</span></a> representing how the document should
be initially displayed when opened.</p>
<div class="refsect3">
<a name="poppler-document-get-page-mode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-page-mode.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="type">PopplerPageMode</span></a> that should be used when document is opened</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-pdf-conformance"></a><h3>poppler_document_get_pdf_conformance ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPDFConformance" title="enum PopplerPDFConformance"><span class="returnvalue">PopplerPDFConformance</span></a>
poppler_document_get_pdf_conformance (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the conformance level of the <em class="parameter"><code>document</code></em>
 as <a class="link" href="PopplerDocument.html#PopplerPDFConformance" title="enum PopplerPDFConformance"><span class="type">PopplerPDFConformance</span></a>.</p>
<div class="refsect3">
<a name="poppler-document-get-pdf-conformance.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-pdf-conformance.returns"></a><h4>Returns</h4>
<p> the document's subtype conformance level</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-70.html#api-index-0.70">0.70</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-pdf-part"></a><h3>poppler_document_get_pdf_part ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPDFPart" title="enum PopplerPDFPart"><span class="returnvalue">PopplerPDFPart</span></a>
poppler_document_get_pdf_part (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the part of the conforming standard that the <em class="parameter"><code>document</code></em>
 adheres to
as a <a class="link" href="PopplerDocument.html#PopplerPDFSubtype" title="enum PopplerPDFSubtype"><span class="type">PopplerPDFSubtype</span></a>.</p>
<div class="refsect3">
<a name="poppler-document-get-pdf-part.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-pdf-part.returns"></a><h4>Returns</h4>
<p> the document's subtype part</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-70.html#api-index-0.70">0.70</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-pdf-subtype"></a><h3>poppler_document_get_pdf_subtype ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPDFSubtype" title="enum PopplerPDFSubtype"><span class="returnvalue">PopplerPDFSubtype</span></a>
poppler_document_get_pdf_subtype (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the subtype of <em class="parameter"><code>document</code></em>
 as a <a class="link" href="PopplerDocument.html#PopplerPDFSubtype" title="enum PopplerPDFSubtype"><span class="type">PopplerPDFSubtype</span></a>.</p>
<div class="refsect3">
<a name="poppler-document-get-pdf-subtype.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-pdf-subtype.returns"></a><h4>Returns</h4>
<p> the document's subtype</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-70.html#api-index-0.70">0.70</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-pdf-subtype-string"></a><h3>poppler_document_get_pdf_subtype_string ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_pdf_subtype_string
                               (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the PDF subtype version of <em class="parameter"><code>document</code></em>
 as a string.</p>
<div class="refsect3">
<a name="poppler-document-get-pdf-subtype-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-pdf-subtype-string.returns"></a><h4>Returns</h4>
<p>a newly allocated string containing
the PDF subtype version of <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-70.html#api-index-0.70">0.70</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-pdf-version"></a><h3>poppler_document_get_pdf_version ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_get_pdf_version (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *major_version</code></em>,
                                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *minor_version</code></em>);</pre>
<div class="refsect3">
<a name="poppler-document-get-pdf-version.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>major_version</p></td>
<td class="parameter_description"><p>return location for the PDF major version number. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>minor_version</p></td>
<td class="parameter_description"><p>return location for the PDF minor version number. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-pdf-version.returns"></a><h4>Returns</h4>
<p> the major and minor PDF version numbers</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-pdf-version-string"></a><h3>poppler_document_get_pdf_version_string ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_pdf_version_string
                               (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the PDF version of <em class="parameter"><code>document</code></em>
 as a string (e.g. PDF-1.6)</p>
<div class="refsect3">
<a name="poppler-document-get-pdf-version-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-pdf-version-string.returns"></a><h4>Returns</h4>
<p> a new allocated string containing the PDF version
of <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-permissions"></a><h3>poppler_document_get_permissions ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="returnvalue">PopplerPermissions</span></a>
poppler_document_get_permissions (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the flags specifying which operations are permitted when the document is opened.</p>
<div class="refsect3">
<a name="poppler-document-get-permissions.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-permissions.returns"></a><h4>Returns</h4>
<p> a set of flags from  <a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="type">PopplerPermissions</span></a> enumeration</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-print-duplex"></a><h3>poppler_document_get_print_duplex ()</h3>
<pre class="programlisting"><span class="returnvalue">PopplerPrintDuplex</span>
poppler_document_get_print_duplex (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the duplex mode value suggested for printing by author of the document.
Value POPPLER_PRINT_DUPLEX_NONE means that the document does not specify this
preference.</p>
<div class="refsect3">
<a name="poppler-document-get-print-duplex.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-print-duplex.returns"></a><h4>Returns</h4>
<p> a <span class="type">PopplerPrintDuplex</span> that should be used when document is printed</p>
</div>
<p class="since">Since: 0.80</p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-print-n-copies"></a><h3>poppler_document_get_print_n_copies ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
poppler_document_get_print_n_copies (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the suggested number of copies to be printed.
This preference should be applied only if returned value
is greater than 1 since value 1 usually means that
the document does not specify it.</p>
<div class="refsect3">
<a name="poppler-document-get-print-n-copies.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-print-n-copies.returns"></a><h4>Returns</h4>
<p> Number of copies</p>
</div>
<p class="since">Since: 0.80</p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-print-page-ranges"></a><h3>poppler_document_get_print_page_ranges ()</h3>
<pre class="programlisting"><span class="returnvalue">PopplerPageRange</span> *
poppler_document_get_print_page_ranges
                               (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                                <em class="parameter"><code><span class="type">int</span> *n_ranges</code></em>);</pre>
<p>Returns the suggested page ranges to print in the form of array
of <span class="type">PopplerPageRanges</span> and number of ranges.
NULL pointer means that the document does not specify page ranges
for printing.</p>
<div class="refsect3">
<a name="poppler-document-get-print-page-ranges.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>n_ranges</p></td>
<td class="parameter_description"><p>return location for number of ranges. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-print-page-ranges.returns"></a><h4>Returns</h4>
<p>an array
of <span class="type">PopplerPageRanges</span> or NULL. Free the array when
it is no longer needed. </p>
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_ranges][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.80</p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-print-scaling"></a><h3>poppler_document_get_print_scaling ()</h3>
<pre class="programlisting"><span class="returnvalue">PopplerPrintScaling</span>
poppler_document_get_print_scaling (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the print scaling value suggested by author of the document.</p>
<div class="refsect3">
<a name="poppler-document-get-print-scaling.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-print-scaling.returns"></a><h4>Returns</h4>
<p> a <span class="type">PopplerPrintScaling</span> that should be used when document is printed</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-73.html#api-index-0.73">0.73</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-producer"></a><h3>poppler_document_get_producer ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_producer (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the producer of the document. If the document was converted
from another format, the producer is the name of the product
that converted it to PDF</p>
<div class="refsect3">
<a name="poppler-document-get-producer.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-producer.returns"></a><h4>Returns</h4>
<p> a new allocated string containing the producer
of <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-subject"></a><h3>poppler_document_get_subject ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_subject (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the subject of the document</p>
<div class="refsect3">
<a name="poppler-document-get-subject.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-subject.returns"></a><h4>Returns</h4>
<p> a new allocated string containing the subject
of <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-get-title"></a><h3>poppler_document_get_title ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_document_get_title (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the document's title</p>
<div class="refsect3">
<a name="poppler-document-get-title.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-get-title.returns"></a><h4>Returns</h4>
<p> a new allocated string containing the title
of <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-has-attachments"></a><h3>poppler_document_has_attachments ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_document_has_attachments (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> of <em class="parameter"><code>document</code></em>
 has any attachments.</p>
<div class="refsect3">
<a name="poppler-document-has-attachments.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-has-attachments.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if <em class="parameter"><code>document</code></em>
has attachments.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-is-linearized"></a><h3>poppler_document_is_linearized ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_document_is_linearized (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns whether <em class="parameter"><code>document</code></em>
 is linearized or not. Linearization of PDF
enables efficient incremental access of the PDF file in a network environment.</p>
<div class="refsect3">
<a name="poppler-document-is-linearized.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-is-linearized.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>document</code></em>
is linearized, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-16.html#api-index-0.16">0.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-new-from-bytes"></a><h3>poppler_document_new_from_bytes ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
poppler_document_new_from_bytes (<em class="parameter"><code><a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *bytes</code></em>,
                                 <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
                                 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> from <em class="parameter"><code>bytes</code></em>
. The returned document
will hold a reference to <em class="parameter"><code>bytes</code></em>
.</p>
<p>On error,  <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, with <em class="parameter"><code>error</code></em>
 set. Possible errors include
those in the <a class="link" href="poppler-Error-handling.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a> and <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
<div class="refsect3">
<a name="poppler-document-new-from-bytes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>bytes</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>password</p></td>
<td class="parameter_description"><p>password to unlock the file with, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-new-from-bytes.returns"></a><h4>Returns</h4>
<p>a newly created <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.82</p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-new-from-data"></a><h3>poppler_document_new_from_data ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
poppler_document_new_from_data (<em class="parameter"><code><span class="type">char</span> *data</code></em>,
                                <em class="parameter"><code><span class="type">int</span> length</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>.  If <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then <em class="parameter"><code>error</code></em>
 will be
set. Possible errors include those in the <a class="link" href="poppler-Error-handling.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a> and <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
domains.</p>
<p>Note that <em class="parameter"><code>data</code></em>
 must remain valid for as long as the returned document exists.
Prefer using <a class="link" href="PopplerDocument.html#poppler-document-new-from-bytes" title="poppler_document_new_from_bytes ()"><code class="function">poppler_document_new_from_bytes()</code></a>.</p>
<div class="refsect3">
<a name="poppler-document-new-from-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>the pdf data. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>length</p></td>
<td class="parameter_description"><p>the length of <span class="type">data</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>password</p></td>
<td class="parameter_description"><p>password to unlock the file with, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-new-from-data.returns"></a><h4>Returns</h4>
<p> A newly created <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-new-from-file"></a><h3>poppler_document_new_from_file ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
poppler_document_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>.  If <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then <em class="parameter"><code>error</code></em>
 will be
set. Possible errors include those in the <a class="link" href="poppler-Error-handling.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a> and <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
domains.</p>
<div class="refsect3">
<a name="poppler-document-new-from-file.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>uri of the file to load</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>password</p></td>
<td class="parameter_description"><p>password to unlock the file with, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-new-from-file.returns"></a><h4>Returns</h4>
<p> A newly created <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-new-from-gfile"></a><h3>poppler_document_new_from_gfile ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
poppler_document_new_from_gfile (<em class="parameter"><code><a href="../gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *file</code></em>,
                                 <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
                                 <em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> reading the PDF contents from <em class="parameter"><code>file</code></em>
.
Possible errors include those in the <a class="link" href="poppler-Error-handling.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a> and <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
domains.</p>
<div class="refsect3">
<a name="poppler-document-new-from-gfile.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>file</p></td>
<td class="parameter_description"><p>a <a href="../gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> to load</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>password</p></td>
<td class="parameter_description"><p>password to unlock the file with, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-new-from-gfile.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-22.html#api-index-0.22">0.22</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-new-from-stream"></a><h3>poppler_document_new_from_stream ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> *
poppler_document_new_from_stream (<em class="parameter"><code><a href="../gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
                                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> length</code></em>,
                                  <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
                                  <em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                  <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> reading the PDF contents from <em class="parameter"><code>stream</code></em>
.
Note that the given <a href="../gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> must be seekable or <a href="../gio/gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a>
will be returned.
Possible errors include those in the <a class="link" href="poppler-Error-handling.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a>, <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
and <a href="../gio/gio-GIOError.html#G-IO-ERROR:CAPS"><span class="type">G_IO_ERROR</span></a> domains.</p>
<div class="refsect3">
<a name="poppler-document-new-from-stream.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stream</p></td>
<td class="parameter_description"><p>a <a href="../gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to read from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>length</p></td>
<td class="parameter_description"><p>the stream length, or -1 if not known</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>password</p></td>
<td class="parameter_description"><p>password to unlock the file with, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-new-from-stream.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-22.html#api-index-0.22">0.22</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-save"></a><h3>poppler_document_save ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_document_save (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                       <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
                       <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Saves <em class="parameter"><code>document</code></em>
. Any change made in the document such as
form fields filled, annotations added or modified
will be saved.
If <em class="parameter"><code>error</code></em>
 is set, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. Possible errors
include those in the <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain.</p>
<div class="refsect3">
<a name="poppler-document-save.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>uri of file to save</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-save.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the document was successfully saved</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-save-a-copy"></a><h3>poppler_document_save_a_copy ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_document_save_a_copy (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                              <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
                              <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Saves a copy of the original <em class="parameter"><code>document</code></em>
.
Any change made in the document such as 
form fields filled by the user will not be saved. 
If <em class="parameter"><code>error</code></em>
 is set, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. Possible errors
include those in the <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain.</p>
<div class="refsect3">
<a name="poppler-document-save-a-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>uri of file to save</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for an error, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-document-save-a-copy.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the document was successfully saved</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-set-author"></a><h3>poppler_document_set_author ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_set_author (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                             <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *author</code></em>);</pre>
<p>Sets the document's author. If <em class="parameter"><code>author</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, Author
entry is removed from the document's Info dictionary.</p>
<div class="refsect3">
<a name="poppler-document-set-author.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>author</p></td>
<td class="parameter_description"><p>A new author</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-46.html#api-index-0.46">0.46</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-set-creation-date"></a><h3>poppler_document_set_creation_date ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_set_creation_date (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                                    <em class="parameter"><code><span class="type">time_t</span> creation_date</code></em>);</pre>
<p>Sets the document's creation date. If <em class="parameter"><code>creation_date</code></em>
 is -1, CreationDate
entry is removed from the document's Info dictionary.</p>
<div class="refsect3">
<a name="poppler-document-set-creation-date.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>creation_date</p></td>
<td class="parameter_description"><p>A new creation date</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-46.html#api-index-0.46">0.46</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-set-creator"></a><h3>poppler_document_set_creator ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_set_creator (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                              <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *creator</code></em>);</pre>
<p>Sets the document's creator. If <em class="parameter"><code>creator</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, Creator
entry is removed from the document's Info dictionary.</p>
<div class="refsect3">
<a name="poppler-document-set-creator.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>creator</p></td>
<td class="parameter_description"><p>A new creator</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-46.html#api-index-0.46">0.46</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-set-keywords"></a><h3>poppler_document_set_keywords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_set_keywords (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                               <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *keywords</code></em>);</pre>
<p>Sets the document's keywords. If <em class="parameter"><code>keywords</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
Keywords entry is removed from the document's Info dictionary.</p>
<div class="refsect3">
<a name="poppler-document-set-keywords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>keywords</p></td>
<td class="parameter_description"><p>New keywords</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-46.html#api-index-0.46">0.46</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-set-modification-date"></a><h3>poppler_document_set_modification_date ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_set_modification_date
                               (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                                <em class="parameter"><code><span class="type">time_t</span> modification_date</code></em>);</pre>
<p>Sets the document's modification date. If <em class="parameter"><code>modification_date</code></em>
 is -1, ModDate
entry is removed from the document's Info dictionary.</p>
<div class="refsect3">
<a name="poppler-document-set-modification-date.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>modification_date</p></td>
<td class="parameter_description"><p>A new modification date</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-46.html#api-index-0.46">0.46</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-set-producer"></a><h3>poppler_document_set_producer ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_set_producer (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                               <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *producer</code></em>);</pre>
<p>Sets the document's producer. If <em class="parameter"><code>producer</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
Producer entry is removed from the document's Info dictionary.</p>
<div class="refsect3">
<a name="poppler-document-set-producer.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>producer</p></td>
<td class="parameter_description"><p>A new producer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-46.html#api-index-0.46">0.46</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-set-subject"></a><h3>poppler_document_set_subject ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_set_subject (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                              <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *subject</code></em>);</pre>
<p>Sets the document's subject. If <em class="parameter"><code>subject</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, Subject
entry is removed from the document's Info dictionary.</p>
<div class="refsect3">
<a name="poppler-document-set-subject.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>subject</p></td>
<td class="parameter_description"><p>A new subject</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-46.html#api-index-0.46">0.46</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-document-set-title"></a><h3>poppler_document_set_title ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_document_set_title (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                            <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<p>Sets the document's title. If <em class="parameter"><code>title</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, Title entry
is removed from the document's Info dictionary.</p>
<div class="refsect3">
<a name="poppler-document-set-title.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>title</p></td>
<td class="parameter_description"><p>A new title</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-46.html#api-index-0.46">0.46</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-font-info-free"></a><h3>poppler_font_info_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_font_info_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> *font_info</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="poppler-font-info-new"></a><h3>poppler_font_info_new ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerFontInfo"><span class="returnvalue">PopplerFontInfo</span></a> *
poppler_font_info_new (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Creates a new <a class="link" href="PopplerDocument.html#PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> object</p>
<div class="refsect3">
<a name="poppler-font-info-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-font-info-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="PopplerDocument.html#PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> instance</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-font-info-scan"></a><h3>poppler_font_info_scan ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_font_info_scan (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> *font_info</code></em>,
                        <em class="parameter"><code><span class="type">int</span> n_pages</code></em>,
                        <em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> **iter</code></em>);</pre>
<p>Scans the document associated with <em class="parameter"><code>font_info</code></em>
 for fonts. At most
<em class="parameter"><code>n_pages</code></em>
 will be scanned starting from the current iterator. <em class="parameter"><code>iter</code></em>
 will
point to the first font scanned.</p>
<p>Here is a simple example of code to scan fonts in a document</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="n">font_info</span> <span class="o">=</span> <span class="n">poppler_font_info_new</span> <span class="p">(</span><span class="n">document</span><span class="p">);</span>
<span class="k">while</span> <span class="p">(</span><span class="n">poppler_font_info_scan</span> <span class="p">(</span><span class="n">font_info</span><span class="p">,</span> <span class="mi">20</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">fonts_iter</span><span class="p">))</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="n">fonts_iter</span><span class="p">)</span>
                <span class="k">continue</span><span class="p">;</span> <span class="cm">/* No fonts found in these 20 pages */</span>
        <span class="k">do</span> <span class="p">{</span>
                <span class="cm">/* Do something with font iter */</span>
                <span class="n">g_print</span> <span class="p">(</span><span class="s">&quot;Font Name: %s</span><span class="se">\n</span><span class="s">&quot;</span><span class="p">,</span> <span class="n">poppler_fonts_iter_get_name</span> <span class="p">(</span><span class="n">fonts_iter</span><span class="p">));</span>
        <span class="p">}</span> <span class="k">while</span> <span class="p">(</span><span class="n">poppler_fonts_iter_next</span> <span class="p">(</span><span class="n">fonts_iter</span><span class="p">));</span>
        <span class="n">poppler_fonts_iter_free</span> <span class="p">(</span><span class="n">fonts_iter</span><span class="p">);</span>
<span class="p">}</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<div class="refsect3">
<a name="poppler-font-info-scan.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font_info</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontInfo"><span class="type">PopplerFontInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>n_pages</p></td>
<td class="parameter_description"><p>number of pages to scan</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>return location for a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-font-info-scan.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if there are more fonts left to scan</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-copy"></a><h3>poppler_fonts_iter_copy ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="returnvalue">PopplerFontsIter</span></a> *
poppler_fonts_iter_copy (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Creates a copy of <em class="parameter"><code>iter</code></em>
</p>
<div class="refsect3">
<a name="poppler-fonts-iter-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> to copy</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-copy.returns"></a><h4>Returns</h4>
<p> a new allocated copy of <em class="parameter"><code>iter</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-free"></a><h3>poppler_fonts_iter_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_fonts_iter_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Frees the given <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p>
<div class="refsect3">
<a name="poppler-fonts-iter-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-get-encoding"></a><h3>poppler_fonts_iter_get_encoding ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
poppler_fonts_iter_get_encoding (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Returns the encoding of the font associated with <em class="parameter"><code>iter</code></em>
</p>
<div class="refsect3">
<a name="poppler-fonts-iter-get-encoding.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-get-encoding.returns"></a><h4>Returns</h4>
<p> the font encoding</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-20.html#api-index-0.20">0.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-get-file-name"></a><h3>poppler_fonts_iter_get_file_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
poppler_fonts_iter_get_file_name (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>The filename of the font associated with <em class="parameter"><code>iter</code></em>
 or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
the font is embedded</p>
<div class="refsect3">
<a name="poppler-fonts-iter-get-file-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-get-file-name.returns"></a><h4>Returns</h4>
<p> the filename of the font or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if font is embedded</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-get-font-type"></a><h3>poppler_fonts_iter_get_font_type ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerFontType" title="enum PopplerFontType"><span class="returnvalue">PopplerFontType</span></a>
poppler_fonts_iter_get_font_type (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Returns the type of the font associated with <em class="parameter"><code>iter</code></em>
</p>
<div class="refsect3">
<a name="poppler-fonts-iter-get-font-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-get-font-type.returns"></a><h4>Returns</h4>
<p> the font type</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-get-full-name"></a><h3>poppler_fonts_iter_get_full_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
poppler_fonts_iter_get_full_name (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Returns the full name of the font associated with <em class="parameter"><code>iter</code></em>
</p>
<div class="refsect3">
<a name="poppler-fonts-iter-get-full-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-get-full-name.returns"></a><h4>Returns</h4>
<p> the font full name</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-get-name"></a><h3>poppler_fonts_iter_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
poppler_fonts_iter_get_name (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Returns the name of the font associated with <em class="parameter"><code>iter</code></em>
</p>
<div class="refsect3">
<a name="poppler-fonts-iter-get-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-get-name.returns"></a><h4>Returns</h4>
<p> the font name</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-get-substitute-name"></a><h3>poppler_fonts_iter_get_substitute_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
poppler_fonts_iter_get_substitute_name
                               (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>The name of the substitute font of the font associated with <em class="parameter"><code>iter</code></em>
 or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
the font is embedded</p>
<div class="refsect3">
<a name="poppler-fonts-iter-get-substitute-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-get-substitute-name.returns"></a><h4>Returns</h4>
<p> the name of the substitute font or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if font is embedded</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-20.html#api-index-0.20">0.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-is-embedded"></a><h3>poppler_fonts_iter_is_embedded ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_fonts_iter_is_embedded (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Returns whether the font associated with <em class="parameter"><code>iter</code></em>
 is embedded in the document</p>
<div class="refsect3">
<a name="poppler-fonts-iter-is-embedded.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-is-embedded.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if font is embedded, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-is-subset"></a><h3>poppler_fonts_iter_is_subset ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_fonts_iter_is_subset (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Returns whether the font associated with <em class="parameter"><code>iter</code></em>
 is a subset of another font</p>
<div class="refsect3">
<a name="poppler-fonts-iter-is-subset.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-is-subset.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if font is a subset, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-fonts-iter-next"></a><h3>poppler_fonts_iter_next ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_fonts_iter_next (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
<p>Sets <em class="parameter"><code>iter</code></em>
 to point to the next font</p>
<div class="refsect3">
<a name="poppler-fonts-iter-next.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerFontsIter"><span class="type">PopplerFontsIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-fonts-iter-next.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if <em class="parameter"><code>iter</code></em>
was set to the next font</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-index-iter-copy"></a><h3>poppler_index_iter_copy ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> *
poppler_index_iter_copy (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
<p>Creates a new <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> as a copy of <em class="parameter"><code>iter</code></em>
.  This must be freed with
<a class="link" href="PopplerDocument.html#poppler-index-iter-free" title="poppler_index_iter_free ()"><code class="function">poppler_index_iter_free()</code></a>.</p>
<div class="refsect3">
<a name="poppler-index-iter-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-index-iter-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-index-iter-free"></a><h3>poppler_index_iter_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_index_iter_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
<p>Frees <em class="parameter"><code>iter</code></em>
.</p>
<div class="refsect3">
<a name="poppler-index-iter-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-index-iter-get-action"></a><h3>poppler_index_iter_get_action ()</h3>
<pre class="programlisting"><a class="link" href="PopplerAction.html" title="PopplerAction"><span class="returnvalue">PopplerAction</span></a> *
poppler_index_iter_get_action (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
<p>Returns the <a class="link" href="PopplerAction.html" title="PopplerAction"><span class="type">PopplerAction</span></a> associated with <em class="parameter"><code>iter</code></em>
.  It must be freed with
<a class="link" href="PopplerAction.html#poppler-action-free" title="poppler_action_free ()"><code class="function">poppler_action_free()</code></a>.</p>
<div class="refsect3">
<a name="poppler-index-iter-get-action.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-index-iter-get-action.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="PopplerAction.html" title="PopplerAction"><span class="type">PopplerAction</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-index-iter-get-child"></a><h3>poppler_index_iter_get_child ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> *
poppler_index_iter_get_child (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *parent</code></em>);</pre>
<p>Returns a newly created child of <em class="parameter"><code>parent</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the iter has no child.
See <a class="link" href="PopplerDocument.html#poppler-index-iter-new" title="poppler_index_iter_new ()"><code class="function">poppler_index_iter_new()</code></a> for more information on this function.</p>
<div class="refsect3">
<a name="poppler-index-iter-get-child.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-index-iter-get-child.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-index-iter-is-open"></a><h3>poppler_index_iter_is_open ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_index_iter_is_open (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
<p>Returns whether this node should be expanded by default to the user.  The
document can provide a hint as to how the document's index should be expanded
initially.</p>
<div class="refsect3">
<a name="poppler-index-iter-is-open.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-index-iter-is-open.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the document wants <em class="parameter"><code>iter</code></em>
to be expanded</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-index-iter-new"></a><h3>poppler_index_iter_new ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> *
poppler_index_iter_new (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<p>Returns the root <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> for <em class="parameter"><code>document</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.  This must be
freed with <a class="link" href="PopplerDocument.html#poppler-index-iter-free" title="poppler_index_iter_free ()"><code class="function">poppler_index_iter_free()</code></a>.</p>
<p>Certain documents have an index associated with them.  This index can be used
to help the user navigate the document, and is similar to a table of
contents.  Each node in the index will contain a <a class="link" href="PopplerAction.html" title="PopplerAction"><span class="type">PopplerAction</span></a> that can be
displayed to the user — typically a <a class="link" href="PopplerAction.html#POPPLER-ACTION-GOTO-DEST:CAPS"><span class="type">POPPLER_ACTION_GOTO_DEST</span></a> or a
<a class="link" href="PopplerAction.html#POPPLER-ACTION-URI:CAPS"><span class="type">POPPLER_ACTION_URI</span></a>.</p>
<p>Here is a simple example of some code that walks the full index:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="k">static</span> <span class="kt">void</span>
<span class="nf">walk_index</span> <span class="p">(</span><span class="n">PopplerIndexIter</span> <span class="o">*</span><span class="n">iter</span><span class="p">)</span>
<span class="p">{</span>
  <span class="k">do</span>
    <span class="p">{</span>
      <span class="cm">/* Get the action and do something with it */</span>
      <span class="n">PopplerIndexIter</span> <span class="o">*</span><span class="n">child</span> <span class="o">=</span> <span class="n">poppler_index_iter_get_child</span> <span class="p">(</span><span class="n">iter</span><span class="p">);</span>
      <span class="k">if</span> <span class="p">(</span><span class="n">child</span><span class="p">)</span>
        <span class="n">walk_index</span> <span class="p">(</span><span class="n">child</span><span class="p">);</span>
      <span class="n">poppler_index_iter_free</span> <span class="p">(</span><span class="n">child</span><span class="p">);</span>
    <span class="p">}</span>
  <span class="k">while</span> <span class="p">(</span><span class="n">poppler_index_iter_next</span> <span class="p">(</span><span class="n">iter</span><span class="p">));</span>
<span class="p">}</span>
<span class="p">...</span>
<span class="p">{</span>
  <span class="n">iter</span> <span class="o">=</span> <span class="n">poppler_index_iter_new</span> <span class="p">(</span><span class="n">document</span><span class="p">);</span>
  <span class="n">walk_index</span> <span class="p">(</span><span class="n">iter</span><span class="p">);</span>
  <span class="n">poppler_index_iter_free</span> <span class="p">(</span><span class="n">iter</span><span class="p">);</span>
<span class="p">}</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<div class="refsect3">
<a name="poppler-index-iter-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-index-iter-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-index-iter-next"></a><h3>poppler_index_iter_next ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_index_iter_next (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
<p>Sets <em class="parameter"><code>iter</code></em>
 to point to the next action at the current level, if valid.  See
<a class="link" href="PopplerDocument.html#poppler-index-iter-new" title="poppler_index_iter_new ()"><code class="function">poppler_index_iter_new()</code></a> for more information.</p>
<div class="refsect3">
<a name="poppler-index-iter-next.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerIndexIter"><span class="type">PopplerIndexIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-index-iter-next.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if <em class="parameter"><code>iter</code></em>
was set to the next action</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-layers-iter-copy"></a><h3>poppler_layers_iter_copy ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> *
poppler_layers_iter_copy (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
<p>Creates a new <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> as a copy of <em class="parameter"><code>iter</code></em>
.  This must be freed with
<a class="link" href="PopplerDocument.html#poppler-layers-iter-free" title="poppler_layers_iter_free ()"><code class="function">poppler_layers_iter_free()</code></a>.</p>
<div class="refsect3">
<a name="poppler-layers-iter-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-layers-iter-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a></p>
<p>Since 0.12</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-layers-iter-free"></a><h3>poppler_layers_iter_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_layers_iter_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
<p>Frees <em class="parameter"><code>iter</code></em>
.</p>
<div class="refsect3">
<a name="poppler-layers-iter-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-12.html#api-index-0.12">0.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-layers-iter-get-child"></a><h3>poppler_layers_iter_get_child ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> *
poppler_layers_iter_get_child (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *parent</code></em>);</pre>
<p>Returns a newly created child of <em class="parameter"><code>parent</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the iter has no child.
See <a class="link" href="PopplerDocument.html#poppler-layers-iter-new" title="poppler_layers_iter_new ()"><code class="function">poppler_layers_iter_new()</code></a> for more information on this function.</p>
<div class="refsect3">
<a name="poppler-layers-iter-get-child.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-layers-iter-get-child.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-12.html#api-index-0.12">0.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-layers-iter-get-layer"></a><h3>poppler_layers_iter_get_layer ()</h3>
<pre class="programlisting"><a class="link" href="poppler-Poppler-Layer.html#PopplerLayer"><span class="returnvalue">PopplerLayer</span></a> *
poppler_layers_iter_get_layer (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
<p>Returns the <a class="link" href="poppler-Poppler-Layer.html#PopplerLayer"><span class="type">PopplerLayer</span></a> associated with <em class="parameter"><code>iter</code></em>
.</p>
<div class="refsect3">
<a name="poppler-layers-iter-get-layer.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-layers-iter-get-layer.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="poppler-Poppler-Layer.html#PopplerLayer"><span class="type">PopplerLayer</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
there isn't any layer associated with <em class="parameter"><code>iter</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-12.html#api-index-0.12">0.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-layers-iter-get-title"></a><h3>poppler_layers_iter_get_title ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
poppler_layers_iter_get_title (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
<p>Returns the title associated with <em class="parameter"><code>iter</code></em>
.  It must be freed with
<a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
<div class="refsect3">
<a name="poppler-layers-iter-get-title.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-layers-iter-get-title.returns"></a><h4>Returns</h4>
<p> a new string containing the <em class="parameter"><code>iter</code></em>
's title or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>iter</code></em>
doesn't have a title.
The returned string should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when no longer needed.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-12.html#api-index-0.12">0.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-layers-iter-new"></a><h3>poppler_layers_iter_new ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> *
poppler_layers_iter_new (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
<div class="refsect3">
<a name="poppler-layers-iter-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-12.html#api-index-0.12">0.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-layers-iter-next"></a><h3>poppler_layers_iter_next ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
poppler_layers_iter_next (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
<p>Sets <em class="parameter"><code>iter</code></em>
 to point to the next action at the current level, if valid.  See
<a class="link" href="PopplerDocument.html#poppler-layers-iter-new" title="poppler_layers_iter_new ()"><code class="function">poppler_layers_iter_new()</code></a> for more information.</p>
<div class="refsect3">
<a name="poppler-layers-iter-next.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html#PopplerLayersIter"><span class="type">PopplerLayersIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-layers-iter-next.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if <em class="parameter"><code>iter</code></em>
was set to the next action</p>
</div>
<p class="since">Since: <a class="link" href="api-index-0-12.html#api-index-0.12">0.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="poppler-ps-file-free"></a><h3>poppler_ps_file_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_ps_file_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>);</pre>
<p>Frees <em class="parameter"><code>ps_file</code></em>
</p>
<div class="refsect3">
<a name="poppler-ps-file-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>ps_file</p></td>
<td class="parameter_description"><p>a PopplerPSFile</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-ps-file-new"></a><h3>poppler_ps_file_new ()</h3>
<pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPSFile"><span class="returnvalue">PopplerPSFile</span></a> *
poppler_ps_file_new (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
                     <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
                     <em class="parameter"><code><span class="type">int</span> first_page</code></em>,
                     <em class="parameter"><code><span class="type">int</span> n_pages</code></em>);</pre>
<p>Create a new postscript file to render to</p>
<div class="refsect3">
<a name="poppler-ps-file-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>document</p></td>
<td class="parameter_description"><p>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>filename</p></td>
<td class="parameter_description"><p>the path of the output filename</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>first_page</p></td>
<td class="parameter_description"><p>the first page to print</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>n_pages</p></td>
<td class="parameter_description"><p>the number of pages to print</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="poppler-ps-file-new.returns"></a><h4>Returns</h4>
<p> a PopplerPSFile </p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-ps-file-set-duplex"></a><h3>poppler_ps_file_set_duplex ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_ps_file_set_duplex (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>,
                            <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> duplex</code></em>);</pre>
<p>Enable or disable Duplex printing.</p>
<div class="refsect3">
<a name="poppler-ps-file-set-duplex.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>ps_file</p></td>
<td class="parameter_description"><p>a PopplerPSFile which was not yet printed to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>duplex</p></td>
<td class="parameter_description"><p>whether to force duplex printing (on printers which support this)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="poppler-ps-file-set-paper-size"></a><h3>poppler_ps_file_set_paper_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
poppler_ps_file_set_paper_size (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>,
                                <em class="parameter"><code><span class="type">double</span> width</code></em>,
                                <em class="parameter"><code><span class="type">double</span> height</code></em>);</pre>
<p>Set the output paper size. These values will end up in the
DocumentMedia, the BoundingBox DSC comments and other places in the
generated PostScript.</p>
<div class="refsect3">
<a name="poppler-ps-file-set-paper-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>ps_file</p></td>
<td class="parameter_description"><p>a PopplerPSFile which was not yet printed to.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>the paper width in 1/72 inch</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>the paper height in 1/72 inch</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="PopplerDocument.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="PopplerDocument-struct"></a><h3>PopplerDocument</h3>
<pre class="programlisting">typedef struct _PopplerDocument PopplerDocument;</pre>
</div>
<hr>
<div class="refsect2">
<a name="PopplerFontInfo-struct"></a><h3>PopplerFontInfo</h3>
<pre class="programlisting">typedef struct _PopplerFontInfo PopplerFontInfo;</pre>
</div>
<hr>
<div class="refsect2">
<a name="PopplerFontType"></a><h3>enum PopplerFontType</h3>
<p>Font types</p>
<div class="refsect3">
<a name="PopplerFontType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-UNKNOWN:CAPS"></a>POPPLER_FONT_TYPE_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown font type</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-TYPE1:CAPS"></a>POPPLER_FONT_TYPE_TYPE1</p></td>
<td class="enum_member_description">
<p>Type 1 font type</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-TYPE1C:CAPS"></a>POPPLER_FONT_TYPE_TYPE1C</p></td>
<td class="enum_member_description">
<p>Type 1 font type embedded in Compact Font Format (CFF) font program</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-TYPE1COT:CAPS"></a>POPPLER_FONT_TYPE_TYPE1COT</p></td>
<td class="enum_member_description">
<p>Type 1 font type embedded in OpenType font program</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-TYPE3:CAPS"></a>POPPLER_FONT_TYPE_TYPE3</p></td>
<td class="enum_member_description">
<p>A font type that is defined with PDF graphics operators</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-TRUETYPE:CAPS"></a>POPPLER_FONT_TYPE_TRUETYPE</p></td>
<td class="enum_member_description">
<p>TrueType font type</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-TRUETYPEOT:CAPS"></a>POPPLER_FONT_TYPE_TRUETYPEOT</p></td>
<td class="enum_member_description">
<p>TrueType font type embedded in OpenType font program</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-CID-TYPE0:CAPS"></a>POPPLER_FONT_TYPE_CID_TYPE0</p></td>
<td class="enum_member_description">
<p>CIDFont type based on Type 1 font technology</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-CID-TYPE0C:CAPS"></a>POPPLER_FONT_TYPE_CID_TYPE0C</p></td>
<td class="enum_member_description">
<p>CIDFont type based on Type 1 font technology embedded in CFF font program</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-CID-TYPE0COT:CAPS"></a>POPPLER_FONT_TYPE_CID_TYPE0COT</p></td>
<td class="enum_member_description">
<p>CIDFont type based on Type 1 font technology embedded in OpenType font program</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-CID-TYPE2:CAPS"></a>POPPLER_FONT_TYPE_CID_TYPE2</p></td>
<td class="enum_member_description">
<p>CIDFont type based on TrueType font technology</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-FONT-TYPE-CID-TYPE2OT:CAPS"></a>POPPLER_FONT_TYPE_CID_TYPE2OT</p></td>
<td class="enum_member_description">
<p>CIDFont type based on TrueType font technology embedded in OpenType font program</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="PopplerFontsIter-struct"></a><h3>PopplerFontsIter</h3>
<pre class="programlisting">typedef struct _PopplerFontsIter PopplerFontsIter;</pre>
</div>
<hr>
<div class="refsect2">
<a name="PopplerIndexIter-struct"></a><h3>PopplerIndexIter</h3>
<pre class="programlisting">typedef struct _PopplerIndexIter PopplerIndexIter;</pre>
</div>
<hr>
<div class="refsect2">
<a name="PopplerLayersIter-struct"></a><h3>PopplerLayersIter</h3>
<pre class="programlisting">typedef struct _PopplerLayersIter PopplerLayersIter;</pre>
</div>
<hr>
<div class="refsect2">
<a name="PopplerPDFConformance"></a><h3>enum PopplerPDFConformance</h3>
<p>PDF Subtype Conformance</p>
<div class="refsect3">
<a name="PopplerPDFConformance.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-UNSET:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_UNSET</p></td>
<td class="enum_member_description">
<p>Null</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-A:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_A</p></td>
<td class="enum_member_description">
<p>Level A (accessible) conformance (PDF/A)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-B:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_B</p></td>
<td class="enum_member_description">
<p>Level B (basic) conformance (PDF/A)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-G:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_G</p></td>
<td class="enum_member_description">
<p>Level G (external graphical content) (PDF/X)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-N:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_N</p></td>
<td class="enum_member_description">
<p>Level N (external ICC Profile) (PDF/X)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-P:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_P</p></td>
<td class="enum_member_description">
<p>Level P (ICC Profile) (PDF/X)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-PG:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_PG</p></td>
<td class="enum_member_description">
<p>Level PG (conjunction of P and G) (PDF/X)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-U:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_U</p></td>
<td class="enum_member_description">
<p>Level U (Unicode) conformance (PDF/A)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-CONF-NONE:CAPS"></a>POPPLER_PDF_SUBTYPE_CONF_NONE</p></td>
<td class="enum_member_description">
<p>No conformance level available</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-70.html#api-index-0.70">0.70</a></p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerPDFPart"></a><h3>enum PopplerPDFPart</h3>
<p>PDF Subtype Part</p>
<div class="refsect3">
<a name="PopplerPDFPart.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-UNSET:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_UNSET</p></td>
<td class="enum_member_description">
<p>Null</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-1:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_1</p></td>
<td class="enum_member_description">
<p>1</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-2:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_2</p></td>
<td class="enum_member_description">
<p>2</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-3:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_3</p></td>
<td class="enum_member_description">
<p>3</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-4:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_4</p></td>
<td class="enum_member_description">
<p>4</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-5:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_5</p></td>
<td class="enum_member_description">
<p>5</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-6:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_6</p></td>
<td class="enum_member_description">
<p>6</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-7:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_7</p></td>
<td class="enum_member_description">
<p>7</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-8:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_8</p></td>
<td class="enum_member_description">
<p>8</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PART-NONE:CAPS"></a>POPPLER_PDF_SUBTYPE_PART_NONE</p></td>
<td class="enum_member_description">
<p>No part available</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-70.html#api-index-0.70">0.70</a></p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerPDFSubtype"></a><h3>enum PopplerPDFSubtype</h3>
<p>PDF Subtype</p>
<div class="refsect3">
<a name="PopplerPDFSubtype.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-UNSET:CAPS"></a>POPPLER_PDF_SUBTYPE_UNSET</p></td>
<td class="enum_member_description">
<p>Null</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PDF-A:CAPS"></a>POPPLER_PDF_SUBTYPE_PDF_A</p></td>
<td class="enum_member_description">
<p>ISO 19005 - Document management -- Electronic document file format for long-term preservation (PDF/A)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PDF-E:CAPS"></a>POPPLER_PDF_SUBTYPE_PDF_E</p></td>
<td class="enum_member_description">
<p>ISO 24517 - Document management -- Engineering document format using PDF (PDF/E)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PDF-UA:CAPS"></a>POPPLER_PDF_SUBTYPE_PDF_UA</p></td>
<td class="enum_member_description">
<p>ISO 14289 - Document management applications -- Electronic document file format enhancement for accessibility (PDF/UA)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PDF-VT:CAPS"></a>POPPLER_PDF_SUBTYPE_PDF_VT</p></td>
<td class="enum_member_description">
<p>ISO 16612 - Graphic technology -- Variable data exchange (PDF/VT)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-PDF-X:CAPS"></a>POPPLER_PDF_SUBTYPE_PDF_X</p></td>
<td class="enum_member_description">
<p>ISO 15930 - Graphic technology -- Prepress digital data exchange (PDF/X)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PDF-SUBTYPE-NONE:CAPS"></a>POPPLER_PDF_SUBTYPE_NONE</p></td>
<td class="enum_member_description">
<p>Not compliant with the above standards</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-0-70.html#api-index-0.70">0.70</a></p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerPSFile-struct"></a><h3>PopplerPSFile</h3>
<pre class="programlisting">typedef struct _PopplerPSFile PopplerPSFile;</pre>
</div>
<hr>
<div class="refsect2">
<a name="PopplerPageLayout"></a><h3>enum PopplerPageLayout</h3>
<p>Page layout types</p>
<div class="refsect3">
<a name="PopplerPageLayout.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-LAYOUT-UNSET:CAPS"></a>POPPLER_PAGE_LAYOUT_UNSET</p></td>
<td class="enum_member_description">
<p>no specific layout set</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-LAYOUT-SINGLE-PAGE:CAPS"></a>POPPLER_PAGE_LAYOUT_SINGLE_PAGE</p></td>
<td class="enum_member_description">
<p>one page at a time</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-LAYOUT-ONE-COLUMN:CAPS"></a>POPPLER_PAGE_LAYOUT_ONE_COLUMN</p></td>
<td class="enum_member_description">
<p>pages in one column</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-LAYOUT-TWO-COLUMN-LEFT:CAPS"></a>POPPLER_PAGE_LAYOUT_TWO_COLUMN_LEFT</p></td>
<td class="enum_member_description">
<p>pages in two columns with odd numbered pages on the left</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-LAYOUT-TWO-COLUMN-RIGHT:CAPS"></a>POPPLER_PAGE_LAYOUT_TWO_COLUMN_RIGHT</p></td>
<td class="enum_member_description">
<p>pages in two columns with odd numbered pages on the right</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-LAYOUT-TWO-PAGE-LEFT:CAPS"></a>POPPLER_PAGE_LAYOUT_TWO_PAGE_LEFT</p></td>
<td class="enum_member_description">
<p>two pages at a time with odd numbered pages on the left</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-LAYOUT-TWO-PAGE-RIGHT:CAPS"></a>POPPLER_PAGE_LAYOUT_TWO_PAGE_RIGHT</p></td>
<td class="enum_member_description">
<p>two pages at a time with odd numbered pages on the right</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="PopplerPageMode"></a><h3>enum PopplerPageMode</h3>
<p>Page modes</p>
<div class="refsect3">
<a name="PopplerPageMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-MODE-UNSET:CAPS"></a>POPPLER_PAGE_MODE_UNSET</p></td>
<td class="enum_member_description">
<p>no specific mode set</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-MODE-NONE:CAPS"></a>POPPLER_PAGE_MODE_NONE</p></td>
<td class="enum_member_description">
<p>neither document outline nor thumbnails visible</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-MODE-USE-OUTLINES:CAPS"></a>POPPLER_PAGE_MODE_USE_OUTLINES</p></td>
<td class="enum_member_description">
<p>document outline visible</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-MODE-USE-THUMBS:CAPS"></a>POPPLER_PAGE_MODE_USE_THUMBS</p></td>
<td class="enum_member_description">
<p>thumbnails visible</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-MODE-FULL-SCREEN:CAPS"></a>POPPLER_PAGE_MODE_FULL_SCREEN</p></td>
<td class="enum_member_description">
<p>full-screen mode</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-MODE-USE-OC:CAPS"></a>POPPLER_PAGE_MODE_USE_OC</p></td>
<td class="enum_member_description">
<p>layers panel visible</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PAGE-MODE-USE-ATTACHMENTS:CAPS"></a>POPPLER_PAGE_MODE_USE_ATTACHMENTS</p></td>
<td class="enum_member_description">
<p>attachments panel visible</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="PopplerPermissions"></a><h3>enum PopplerPermissions</h3>
<p>Permissions</p>
<div class="refsect3">
<a name="PopplerPermissions.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-OK-TO-PRINT:CAPS"></a>POPPLER_PERMISSIONS_OK_TO_PRINT</p></td>
<td class="enum_member_description">
<p>document can be printer</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-OK-TO-MODIFY:CAPS"></a>POPPLER_PERMISSIONS_OK_TO_MODIFY</p></td>
<td class="enum_member_description">
<p>document contents can be modified</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-OK-TO-COPY:CAPS"></a>POPPLER_PERMISSIONS_OK_TO_COPY</p></td>
<td class="enum_member_description">
<p>document can be copied</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-OK-TO-ADD-NOTES:CAPS"></a>POPPLER_PERMISSIONS_OK_TO_ADD_NOTES</p></td>
<td class="enum_member_description">
<p>annotations can added to the document</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-OK-TO-FILL-FORM:CAPS"></a>POPPLER_PERMISSIONS_OK_TO_FILL_FORM</p></td>
<td class="enum_member_description">
<p>interactive form fields can be filled in</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-OK-TO-EXTRACT-CONTENTS:CAPS"></a>POPPLER_PERMISSIONS_OK_TO_EXTRACT_CONTENTS</p></td>
<td class="enum_member_description">
<p>extract text and graphics
(in support of accessibility to users with disabilities or for other purposes). Since 0.18</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-OK-TO-ASSEMBLE:CAPS"></a>POPPLER_PERMISSIONS_OK_TO_ASSEMBLE</p></td>
<td class="enum_member_description">
<p>assemble the document (insert, rotate, or delete pages and create
bookmarks or thumbnail images). Since 0.18</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-OK-TO-PRINT-HIGH-RESOLUTION:CAPS"></a>POPPLER_PERMISSIONS_OK_TO_PRINT_HIGH_RESOLUTION</p></td>
<td class="enum_member_description">
<p>document can be printer at high resolution. Since 0.18</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-PERMISSIONS-FULL:CAPS"></a>POPPLER_PERMISSIONS_FULL</p></td>
<td class="enum_member_description">
<p>document permits all operations</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="PopplerViewerPreferences"></a><h3>enum PopplerViewerPreferences</h3>
<p>Viewer preferences</p>
<div class="refsect3">
<a name="PopplerViewerPreferences.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-VIEWER-PREFERENCES-UNSET:CAPS"></a>POPPLER_VIEWER_PREFERENCES_UNSET</p></td>
<td class="enum_member_description">
<p>no preferences set</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-VIEWER-PREFERENCES-HIDE-TOOLBAR:CAPS"></a>POPPLER_VIEWER_PREFERENCES_HIDE_TOOLBAR</p></td>
<td class="enum_member_description">
<p>hider toolbars when document is active</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-VIEWER-PREFERENCES-HIDE-MENUBAR:CAPS"></a>POPPLER_VIEWER_PREFERENCES_HIDE_MENUBAR</p></td>
<td class="enum_member_description">
<p>hide menu bar when document is active</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-VIEWER-PREFERENCES-HIDE-WINDOWUI:CAPS"></a>POPPLER_VIEWER_PREFERENCES_HIDE_WINDOWUI</p></td>
<td class="enum_member_description">
<p>hide UI elements in document's window</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-VIEWER-PREFERENCES-FIT-WINDOW:CAPS"></a>POPPLER_VIEWER_PREFERENCES_FIT_WINDOW</p></td>
<td class="enum_member_description">
<p>resize document's window to fit the size of the first displayed page</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-VIEWER-PREFERENCES-CENTER-WINDOW:CAPS"></a>POPPLER_VIEWER_PREFERENCES_CENTER_WINDOW</p></td>
<td class="enum_member_description">
<p>position the document's window in the center of the screen</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-VIEWER-PREFERENCES-DISPLAY-DOC-TITLE:CAPS"></a>POPPLER_VIEWER_PREFERENCES_DISPLAY_DOC_TITLE</p></td>
<td class="enum_member_description">
<p>display document title in window's title bar</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="POPPLER-VIEWER-PREFERENCES-DIRECTION-RTL:CAPS"></a>POPPLER_VIEWER_PREFERENCES_DIRECTION_RTL</p></td>
<td class="enum_member_description">
<p>the predominant reading order for text is right to left</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="PopplerDocument.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="PopplerDocument--author"></a><h3>The <code class="literal">“author”</code> property</h3>
<pre class="programlisting">  “author”                   <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The author of the document</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--creation-date"></a><h3>The <code class="literal">“creation-date”</code> property</h3>
<pre class="programlisting">  “creation-date”            <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<p>The date the document was created as seconds since the Epoch, or -1</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--creator"></a><h3>The <code class="literal">“creator”</code> property</h3>
<pre class="programlisting">  “creator”                  <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The creator of the document. See also <a class="link" href="PopplerDocument.html#poppler-document-get-creator" title="poppler_document_get_creator ()"><code class="function">poppler_document_get_creator()</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--format"></a><h3>The <code class="literal">“format”</code> property</h3>
<pre class="programlisting">  “format”                   <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The PDF version as string. See also <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version-string" title="poppler_document_get_pdf_version_string ()"><code class="function">poppler_document_get_pdf_version_string()</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--format-major"></a><h3>The <code class="literal">“format-major”</code> property</h3>
<pre class="programlisting">  “format-major”             <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The PDF major version number. See also <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version" title="poppler_document_get_pdf_version ()"><code class="function">poppler_document_get_pdf_version()</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--format-minor"></a><h3>The <code class="literal">“format-minor”</code> property</h3>
<pre class="programlisting">  “format-minor”             <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The PDF minor version number. See also <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version" title="poppler_document_get_pdf_version ()"><code class="function">poppler_document_get_pdf_version()</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--keywords"></a><h3>The <code class="literal">“keywords”</code> property</h3>
<pre class="programlisting">  “keywords”                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The keywords associated to the document</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--linearized"></a><h3>The <code class="literal">“linearized”</code> property</h3>
<pre class="programlisting">  “linearized”               <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether document is linearized. See also <a class="link" href="PopplerDocument.html#poppler-document-is-linearized" title="poppler_document_is_linearized ()"><code class="function">poppler_document_is_linearized()</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--metadata"></a><h3>The <code class="literal">“metadata”</code> property</h3>
<pre class="programlisting">  “metadata”                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Document metadata in XML format, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--mod-date"></a><h3>The <code class="literal">“mod-date”</code> property</h3>
<pre class="programlisting">  “mod-date”                 <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<p>The date the document was most recently modified as seconds since the Epoch, or -1</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--page-layout"></a><h3>The <code class="literal">“page-layout”</code> property</h3>
<pre class="programlisting">  “page-layout”              <a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="type">PopplerPageLayout</span></a></pre>
<p>The page layout that should be used when the document is opened</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: POPPLER_PAGE_LAYOUT_UNSET</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--page-mode"></a><h3>The <code class="literal">“page-mode”</code> property</h3>
<pre class="programlisting">  “page-mode”                <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="type">PopplerPageMode</span></a></pre>
<p>The mode that should be used when the document is opened</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: POPPLER_PAGE_MODE_UNSET</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--permissions"></a><h3>The <code class="literal">“permissions”</code> property</h3>
<pre class="programlisting">  “permissions”              <a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="type">PopplerPermissions</span></a></pre>
<p>Flags specifying which operations are permitted when the document is opened</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: POPPLER_PERMISSIONS_OK_TO_PRINT | POPPLER_PERMISSIONS_OK_TO_MODIFY | POPPLER_PERMISSIONS_OK_TO_COPY | POPPLER_PERMISSIONS_OK_TO_ADD_NOTES | POPPLER_PERMISSIONS_OK_TO_FILL_FORM | POPPLER_PERMISSIONS_OK_TO_EXTRACT_CONTENTS | POPPLER_PERMISSIONS_OK_TO_ASSEMBLE | POPPLER_PERMISSIONS_OK_TO_PRINT_HIGH_RESOLUTION</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--print-duplex"></a><h3>The <code class="literal">“print-duplex”</code> property</h3>
<pre class="programlisting">  “print-duplex”             <span class="type">PopplerPrintDuplex</span></pre>
<p>Duplex Viewer Preference.</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: POPPLER_PRINT_DUPLEX_NONE</p>
<p class="since">Since: 0.80</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--print-n-copies"></a><h3>The <code class="literal">“print-n-copies”</code> property</h3>
<pre class="programlisting">  “print-n-copies”           <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<p>Suggested number of copies to be printed for this document</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Allowed values: &gt;= 1</p>
<p>Default value: 1</p>
<p class="since">Since: 0.80</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--print-scaling"></a><h3>The <code class="literal">“print-scaling”</code> property</h3>
<pre class="programlisting">  “print-scaling”            <span class="type">PopplerPrintScaling</span></pre>
<p>Print Scaling Viewer Preference.</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: POPPLER_PRINT_SCALING_APP_DEFAULT</p>
<p class="since">Since: <a class="link" href="api-index-0-73.html#api-index-0.73">0.73</a></p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--producer"></a><h3>The <code class="literal">“producer”</code> property</h3>
<pre class="programlisting">  “producer”                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The producer of the document. See also <a class="link" href="PopplerDocument.html#poppler-document-get-producer" title="poppler_document_get_producer ()"><code class="function">poppler_document_get_producer()</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--subject"></a><h3>The <code class="literal">“subject”</code> property</h3>
<pre class="programlisting">  “subject”                  <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The subject of the document</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--subtype"></a><h3>The <code class="literal">“subtype”</code> property</h3>
<pre class="programlisting">  “subtype”                  <a class="link" href="PopplerDocument.html#PopplerPDFSubtype" title="enum PopplerPDFSubtype"><span class="type">PopplerPDFSubtype</span></a></pre>
<p>Document PDF subtype type</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: POPPLER_PDF_SUBTYPE_UNSET</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--subtype-conformance"></a><h3>The <code class="literal">“subtype-conformance”</code> property</h3>
<pre class="programlisting">  “subtype-conformance”      <a class="link" href="PopplerDocument.html#PopplerPDFConformance" title="enum PopplerPDFConformance"><span class="type">PopplerPDFConformance</span></a></pre>
<p>Document PDF subtype conformance</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: POPPLER_PDF_SUBTYPE_CONF_UNSET</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--subtype-part"></a><h3>The <code class="literal">“subtype-part”</code> property</h3>
<pre class="programlisting">  “subtype-part”             <a class="link" href="PopplerDocument.html#PopplerPDFPart" title="enum PopplerPDFPart"><span class="type">PopplerPDFPart</span></a></pre>
<p>Document PDF subtype part</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: POPPLER_PDF_SUBTYPE_PART_UNSET</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--subtype-string"></a><h3>The <code class="literal">“subtype-string”</code> property</h3>
<pre class="programlisting">  “subtype-string”           <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Document PDF subtype. See also <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-subtype-string" title="poppler_document_get_pdf_subtype_string ()"><code class="function">poppler_document_get_pdf_subtype_string()</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--title"></a><h3>The <code class="literal">“title”</code> property</h3>
<pre class="programlisting">  “title”                    <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The document's title or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="PopplerDocument--viewer-preferences"></a><h3>The <code class="literal">“viewer-preferences”</code> property</h3>
<pre class="programlisting">  “viewer-preferences”       <a class="link" href="PopplerDocument.html#PopplerViewerPreferences" title="enum PopplerViewerPreferences"><span class="type">PopplerViewerPreferences</span></a></pre>
<p>Viewer Preferences.</p>
<p>Owner: PopplerDocument</p>
<p>Flags: Read</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32.1</div>
</body>
</html>